import request from "@/utils/request";


export function list(params) {
    return request.post('/api/menu/list', {...params});
}

export function add(params) {
    return request.post('/api/menu/add', {...params});
}

export function edit(params) {
    return request.post('/api/menu/edit', {...params});
}

export function del(params) {
    return request.post('/api/menu/del', {...params});
}